package org.osami.commons.dialog.dialogservice;

import org.osami.commons.dialog.IDisplayService;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import java.util.Timer;
import java.util.TimerTask;

public class Activator implements BundleActivator {

	private DialogService dialogService = new DialogService();
	
	public DialogService getDialogService() {
		return dialogService;
	}

	/*
	 * (non-Javadoc)
	 * @see org.osgi.framework.BundleActivator#start(org.osgi.framework.BundleContext)
	 */
	public void start(BundleContext context) throws Exception {
		getDialogService().init(context);
	}
	
	/*
	 * (non-Javadoc)
	 * @see org.osgi.framework.BundleActivator#stop(org.osgi.framework.BundleContext)
	 */
	public void stop(BundleContext context) throws Exception {
		
	}
	

}
